import request from "@/utils/request";
export function insertUserRole(data) {
  return request({
    url: "/user-role/insert",
    method: "post",
    data: data
  });
}
export function updateUserRole(data) {
  return request({
    url: "/user-role/update",
    method: "post",
    data: data
  });
}
export function deleteUserRole(data) {
  return request({
    url: "/user-role/delete",
    method: "post",
    data: data
  });
}
export function deletesUserRole(data) {
  return request({
    url: "/user-role/deletes",
    method: "post",
    data: data
  });
}
export function enableUserRole(data) {
  return request({
    url: "/user-role/enable",
    method: "post",
    data: data
  });
}
export function enablesUserRole(data) {
  return request({
    url: "/user-role/enables",
    method: "post",
    data: data
  });
}
export function disableUserRole(data) {
  return request({
    url: "/user-role/disable",
    method: "post",
    data: data
  });
}
export function disablesUserRole(data) {
  return request({
    url: "/user-role/disables",
    method: "post",
    data: data
  });
}
export function viewUserRole(params) {
  return request({
    url: "/user-role/view",
    method: "get",
    params: params
  });
}
export function pageUserRole(params) {
  return request({
    url: "/user-role/page",
    method: "get",
    params: params
  });
}
export function searchUserRole(params) {
  return request({
    url: "/user-role/search",
    method: "get",
    params: params
  });
}
